<template>
  <el-card>
    <div style="display: flex; justify-content: space-between">222222</div>
    <!-- <div>{{job.salary}}</div> -->
  </el-card>
</template>

<script>
export default {
  props: ["job"],
  emits: ["toDetial"],
  methods: {
    // 获得id
    push(id) {
      console.log(this.job);
      console.log(id, "我被点啦!");
    },
    goToDetail() {
      // router
      // this.$router.push({
      //   path: "/employee/job",
      //   params: { id: this.id },
      // });
      this.$router.push("/employee/job/" + this.job.id);
    },
  },
};
</script>

<style>
.job-name {
  font-size: 20px;
  color: rgb(64, 102, 173);
}
.job-name:hover {
  color: rgb(248, 158, 55);
  cursor: pointer;
}
.row {
  display: flex;
  margin-top: 6px;
}
.row > div {
  padding: 5px;
  font-size: 14px;
  color: rgb(46, 46, 46);
}
</style>